package com.ddtech.business.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum BusinessEnum {
    SYSTEM_ERROR(-1, "服务器内部错误！"),
    OPERATE_SUCCESS(0, "操作成功"),
    OPERATE_ERROR(-1, "操作失败"),
    QUERY_ERROR(-1, "查询信息不存在"),
    CHECK_COMMIT(-1, "已完成考试，不允许重复提交！"),
    NO_JOIN_CHECK(-1, "未参与考试，不允许答题"),
    REL_TASK_NOT_DELETE(-1, "该考试关联任务不能删除"),
    REL_TRAIN_NOT_DELETE(-1, "该考试关联培训计划不能删除");
    private Integer code;
    private String msg;
}